/***********************************************************************
 * Module:  RealtimeVideoController.java
 * Author:  Administrator
 * Purpose: Defines the Class RealtimeVideoController
 ***********************************************************************/

package ishitong.vehicleTrafficManagement.controller;

import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/** @pdOid 94a59adf-c759-4191-82df-6c510f5694dd */
@Controller
public class RealtimeVideoController extends ishitong.common.controller.ActionController {
   /** @pdOid 14625de9-8810-43e4-8719-e8cef413e108 */
   private static final String VD_VIW = "/vehicleTrafficManagement/realtimeVideo/videoDisplayView";
   /** @pdOid e939afa7-8fcb-47b0-9157-0dde8233ec8c */
   private static final String IC_VIW = "/vehicleTrafficManagement/realtimeVideo/imageCaptureView";
   
   /** @param request 
    * @param response
    * @exception Exception
    * @pdOid 719abafc-85e7-4040-9f13-d4a1a695758f */
   @RequestMapping(value = "/ajaxShowVideoDisplayView.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxShowVideoDisplayView(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(VD_VIW, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** @param request 
    * @param response
    * @exception Exception
    * @pdOid 40781d14-b898-4f74-922f-9b39b02ca20a */
   @RequestMapping(value = "/ajaxShowImageCaptureView.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxShowImageCaptureView(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(IC_VIW, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 抓拍图片
    * 
    * @param request 
    * @param videoMonitorRecordIds 
    * @param response
    * @exception Exception
    * @pdOid fc1d0f32-1ab1-4529-b599-838af2d9b986 */
   @RequestMapping(value = "/ajaxCaptureRealtimeVideoByIds.do", method = RequestMethod.POST)
   public void handleAjaxCaptureRealtimeVideoByIds(HttpServletRequest request, String videoMonitorRecordIds, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }

}